<?php

require_once('./includes/database.php');
require_once('./includes/session.php');
require_once('./includes/users.php');

db_setup();
session_continue();

$user = user_logged_in(session_id());
if($user->id != 0)
{
	user_logout($user->id);
}

header('Location: index.php');

?>